<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <script>
		function GetQueryString(name)
		{
		     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
		     var r = window.location.search.substr(1).match(reg);
		     if(r!=null)return  unescape(r[2]); return null;
		}
		var str="";
		if(GetQueryString("id")!=null&&GetQueryString("id")!=""){
			str="?id="+GetQueryString("id")
		}
		if(GetQueryString("code")!=null&&GetQueryString("code")!=""){
			if(str==""){
				str="?code="+GetQueryString("code");
			}else{
				str+="&code="+GetQueryString("code");	
			}
		}
    	location.href="login"+str;
    </script>
  </head>
  
  <body>
  </body>
</html>
